/*
package com.isoft.dao.tabledao;

import com.isoft.entity.tableentity.dfme_ckls.Dflt;
import com.isoft.entity.tableentity.dfme_ckls.DfmeCklsCkls;
import com.isoft.entity.tableentity.dfme_ckls.DfmeCklsCntr;
import com.isoft.entity.tableentity.dfme_ckls.DfmeCklsMeta;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.sql.Timestamp;

@Mapper
public interface DfmeCklsDao {
    @Insert("insert into TEAM04.COMMON_META( create_time, sndr, rcvr, seqn, ddtm, type, styp) " +
            "values( #{create_time}, #{meta.sndr}, #{meta.rcvr}, #{meta.seqn}," +
            " #{meta.ddtm}, #{meta.type}, #{meta.styp})")
    public int insertMeta(@Param("create_time") Timestamp create_time,
                          @Param("meta") DfmeCklsMeta dfmeCklsMeta);

    @Insert("insert into TEAM04.DFME_CKLS(meta_id,create_time,flid,ffid,fide,fatt,fces,fcee,fcrs,fcre,mces,mcee,mcrs,mcre,fcdp,mcdp) " +
            "values(#{meta_id},#{create_time},#{dflt.flid},#{dflt.ffid},#{dflt.fide},#{dflt.fatt},#{fces},#{fcee},#{fcrs},#{fcre},#{mces},#{mcee}," +
            "#{mcrs},#{mcre},#{ckls.fcdp},#{ckls.mcdp})")
    public int insertDflt(@Param("meta_id") int meta_id, @Param("create_time") Timestamp create_time,
                          @Param("dflt") Dflt dflt, @Param("ckls") DfmeCklsCkls dfmeCklsCkls,
                          @Param("fces") Timestamp fces, @Param("fcee") Timestamp fcee, @Param("fcrs") Timestamp fcrs, @Param("fcre") Timestamp fcre,
                          @Param("mces") Timestamp mces, @Param("mcee") Timestamp mcee,
                          @Param("mcrs") Timestamp mcrs,
                          @Param("mcre") Timestamp mcre);

    @Insert("insert into TEAM04.DFME_CKLS_CNTR(meta_id,create_time,code,ckat,type,ccar,estr,eend,rstr,rend,btsc,cntrid) " +
            "values(#{meta_id},#{create_time},#{cntr.code},#{cntr.ckat},#{cntr.type}," +
            "#{cntr.ccar},#{estr},#{eend},#{rstr},#{rend},#{cntr.btsc},#{cntr.id})")
    public int insertCntr(@Param("meta_id") int meta_id,
                          @Param("create_time") Timestamp create_time,
                          @Param("cntr") DfmeCklsCntr dfmeCklsCntr,
                          @Param("estr") Timestamp estr,
                          @Param("eend") Timestamp eend,
                          @Param("rstr") Timestamp rstr,
                          @Param("rend") Timestamp rend);
}
*/
